<?php

class UserGroup extends AppModel{
    
    public $useTable  = 'users_groups';
    
    public $belongsTo = array(
        'User' => array(
            'foreignKey' => 'users_id'
        ),
        'Group' => array(
            'foreignKey' => 'groups_id'
        )
    );
    
}

?>
